package dto

// RegisterReq 注册 DTO
type RegisterReq struct {
	Email    string `json:"email" form:"email" validate:"email" example:"邮箱"`
	Code     string `json:"code" form:"code",validate:"required"example:"邮箱验证码"`
	Password string `json:"password" form:"password" validate:"required" example:"密码"`
	Sex      uint   `json:"sex" form:"sex" validate:"required" example:"性别"`
}

type LoginReq struct {
	Email    string `json:"email" form:"email" validate:"required" example:"邮箱"`
	Code     string `json:"code" form:"code"  example:"邮箱"`
	Password string `json:"password" form:"password"  example:"密码"`
}

type EmailReq struct {
	Email string `json:"email" form:"email" validate:"required" example:"邮箱"`
}
